from setuptools import setup, find_namespace_packages
import sys, os

version = '4.9.4'

setup(
    name='Document2LLM',
    version=version,
    description="将文档转为llm或大模型可使用的",
    long_description="""支持将 word ppt pdf 等转为 对应的markdown文件 \
""",
    classifiers=[],
    keywords='',
    author='Emery Yan',
    author_email='',
    url='',
    license='',
    packages=find_namespace_packages(include=['document2llm*']),
    package_data={
        'document2llm.md.doc2md': ['*.lua'],
        'document2llm.io.configs': ['*.yml'],
        'document2llm.help_document': ['*'],
    },
    include_package_data=True,
    zip_safe=False,
    install_requires=[
        'pyyaml',
        # 其他依赖项
    ],
    entry_points={
        'console_scripts': [
            'document2llm_doc2md=document2llm.md.doc2md.doc_to_markdown:main',
            'document2llm_pdf2md_gradio=document2llm.md.marker.marker_pdf2markdown_gradio:main',
            'document2llm_batch_universal_docs2md_gradio=document2llm.md.batch_universal_to_markdown_gradio:main',
        ]
    },
    python_requires='>=3.6',
)
